package com.ruoyi.site.domain;

import java.util.Date;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户内容授权对象 user_licenses
 */
public class UserLicenses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 授权ID */
    private Long licenseId;

    /** 购买用户ID */
    private Long userId;

    /** 关联的订单ID */
    private Long orderId;

    /** 产品类型 (track, sfx) */
    private String productType;

    /** 产品ID (trackId 或 sfxId) */
    private Long productId;

    /** 购买的授权类型 (Standard, Premium) */
    private String licenseOption;

    /** 授权日期 */
    private Date purchaseDate;

    /** 已下载次数 */
    private Integer downloadCount;

    public Long getLicenseId() {
        return licenseId;
    }

    public void setLicenseId(Long licenseId) {
        this.licenseId = licenseId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getLicenseOption() {
        return licenseOption;
    }

    public void setLicenseOption(String licenseOption) {
        this.licenseOption = licenseOption;
    }

    public Date getPurchaseDate() {
        return purchaseDate;
    }

    public void setPurchaseDate(Date purchaseDate) {
        this.purchaseDate = purchaseDate;
    }

    public Integer getDownloadCount() {
        return downloadCount;
    }

    public void setDownloadCount(Integer downloadCount) {
        this.downloadCount = downloadCount;
    }
}